projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b83fa
)
Fix alignement rule for CSS
author
Etienne Prud'homme
<e.e.f.prudhomme@gmail.com>
Wed, 6 Apr 2016 21:05:41 +0000
(17:05 -0400)
committer
Simen Heggestøyl
<simenheg@gmail.com>
Sun, 10 Apr 2016 21:31:19 +0000
(23:31 +0200)
* lisp/align.el (align-rules-list): Support CSS properties that have
multiple words.
Copyright-paperwork-exempt: yes
lisp/align.el
patch
|
blob
|
history
diff --git
a/lisp/align.el
b/lisp/align.el
index c3389dc98605f37b8eff8a9dcd239804132f56bc..41519a5017eeb32ceabf523260a844035b7f6522 100644
(file)
--- a/
lisp/align.el
+++ b/
lisp/align.el
@@
-577,7
+577,7
@@
The possible settings for `align-region-separate' are:
(eq '- current-prefix-arg)))))
(css-declaration
- (regexp . "^\\s-*\\
w
+:\\(\\s-*\\).*;")
+ (regexp . "^\\s-*\\
(?:\\w-?\\)
+:\\(\\s-*\\).*;")
(group . (1))
(modes . '(css-mode html-mode))))
"A list describing all of the available alignment rules.